import Taro, { Component } from '@tarojs/taro'
import { View, Text,Image } from '@tarojs/components'
import './chooseoperation.css'
import { AtList, AtListItem,AtButton,AtCard } from "taro-ui"
import {$navigateTo,getGlobalData} from '../../../global'
import app from '../../../main.js'
export default class ChooseOperation extends Component {

  config = {
    navigationBarTitleText: '手术预约'
  }
  componentWillMount () { }

  componentDidMount () { }

  componentWillUnmount () { }

  componentDidShow () { }

  componentDidHide () { }

  render () {
    return (
      <View className='choose-operation'>
        <AtList className='list' hasBorder={false}>
          <AtListItem hasBorder={false} title='弦紫萱 主任医师' note='广东虚构医院 骨科' thumb={getGlobalData('baseurl')+'img/d2.jpg'}  />
        </AtList>
          {/* <AtList className='all'>
          <AtListItem title='擅长：' className='list' note='精通糖尿病视网膜病变、视网膜脱离、眼外伤、黄斑病变的治疗' hasBorder={false} />
          <AtListItem title='手术地点：' className='list' note='虚构市第一人民医院 眼科' hasBorder={false} />
          <AtListItem title='项目名称：' className='list' note='视网膜脱离治疗手术' hasBorder={false} />
          <AtListItem title='项目内容：' className='list' note='指视网膜神经上皮与色素上皮之间的分离修复' hasBorder={false} />
        </AtList> */}
        <AtCard
            className='card'
            title='项目名称'
            thumb={getGlobalData('baseurl')+'img/xiangmumingcheng.png'}
            >
            <Text>视网膜脱离治疗手术</Text>
        </AtCard>
        <AtCard
            className='card'
            title='手术地点'
            thumb={getGlobalData('baseurl')+'img/didian.png'}
            >
            <Text>虚构市第一人民医院 综合楼 304手术室</Text>
        </AtCard>
        <AtCard
            className='card'
            title='项目内容'
            thumb={getGlobalData('baseurl')+'img/neirong.png'}
            >
            <Text>指视网膜神经上皮与色素上皮之间的分离修复</Text>
        </AtCard>
        <AtCard
            className='card'
            title='擅长'
            thumb={getGlobalData('baseurl')+'img/shanchang.png'}
            >
            <Text>精通糖尿病视网膜病变、视网膜脱离、眼外伤、黄斑病变的治疗 \n 精通糖尿病视网膜病变、视网膜脱离、眼外伤、黄斑病变的治疗</Text>
        </AtCard>
        <View className='blank-box'></View>
        <View className='footer at-row at-row__justify--between'>
        <View className='pay-money at-col at-col-3'>价格：￥5000</View>
        <View className='at-col at-col-4'><AtButton className='pay-btn'>支付</AtButton></View>  
      </View>
      </View>
    )
  }
}

